package electricity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DeviceInfoDto {


    private Integer id;

    private String deviceCode;

    private String deviceName;

    private Integer typeId;

    private BigDecimal voltageLevel;

    private String location;

    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
